<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>mechanoChemIGA: testFunctionVectors&lt; dim, T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">mechanoChemIGA
   &#160;<span id="projectnumber">0.2.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="codestructure.html"><span>Code&#160;structure</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li><a href="modules.html"><span>Functions</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="https://github.com/mechanoChem/mechanoChem"><span>GitHub&#160;code&#160;repo</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classtest_function_vectors-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">testFunctionVectors&lt; dim, T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="test_function_class_8h_source.html">testFunctionClass.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad629f20e9d90e2bae9bec4516aad8a5a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#ad629f20e9d90e2bae9bec4516aad8a5a">testFunctionVectors</a> (unsigned int nVectors)</td></tr>
<tr class="separator:ad629f20e9d90e2bae9bec4516aad8a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf4730a5188fc7a68bd2f684de06e42c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#acf4730a5188fc7a68bd2f684de06e42c">testFunctionVectors</a> (const <a class="el" href="classtest_function_vectors.html">testFunctionVectors</a> &amp;obj)</td></tr>
<tr class="separator:acf4730a5188fc7a68bd2f684de06e42c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c3f7998bd59d6cc139d4e23dc711079"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_tensor.html">Tensor</a>&lt; 1, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a2c3f7998bd59d6cc139d4e23dc711079">val</a> (unsigned int i) const </td></tr>
<tr class="separator:a2c3f7998bd59d6cc139d4e23dc711079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac178383f83c18393f2d61f02793fce93"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_tensor.html">Tensor</a>&lt; 2, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#ac178383f83c18393f2d61f02793fce93">grad</a> (unsigned int i) const </td></tr>
<tr class="separator:ac178383f83c18393f2d61f02793fce93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11dc66c53603643153b6c1bc14f716b5"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_tensor.html">Tensor</a>&lt; 3, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a11dc66c53603643153b6c1bc14f716b5">hess</a> (unsigned int i) const </td></tr>
<tr class="separator:a11dc66c53603643153b6c1bc14f716b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeec09c469d7d646d4e844f0c91828dd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#aeec09c469d7d646d4e844f0c91828dd9">defineVal</a> (unsigned int i, const Sacado::Fad::SimpleFad&lt; T &gt; <a class="el" href="classtest_function_vectors.html#a2c3f7998bd59d6cc139d4e23dc711079">val</a>[])</td></tr>
<tr class="separator:aeec09c469d7d646d4e844f0c91828dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8c287170b3a96f845e24806ac9041d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a8f8c287170b3a96f845e24806ac9041d">defineGrad</a> (unsigned int i, const Sacado::Fad::SimpleFad&lt; T &gt; <a class="el" href="classtest_function_vectors.html#ac178383f83c18393f2d61f02793fce93">grad</a>[][dim])</td></tr>
<tr class="separator:a8f8c287170b3a96f845e24806ac9041d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5de0859fb33a41c302c433cde049471e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a5de0859fb33a41c302c433cde049471e">defineHess</a> (unsigned int i, const Sacado::Fad::SimpleFad&lt; T &gt; <a class="el" href="classtest_function_vectors.html#a11dc66c53603643153b6c1bc14f716b5">hess</a>[][dim][dim])</td></tr>
<tr class="separator:a5de0859fb33a41c302c433cde049471e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a359ceaa1356f57d0ac893f40485854f6"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_tensor.html">Tensor</a>&lt; 1, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a359ceaa1356f57d0ac893f40485854f6">value</a></td></tr>
<tr class="separator:a359ceaa1356f57d0ac893f40485854f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f802a853b895b2edec7c3cc37747147"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_tensor.html">Tensor</a>&lt; 2, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a4f802a853b895b2edec7c3cc37747147">gradient</a></td></tr>
<tr class="separator:a4f802a853b895b2edec7c3cc37747147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50c692a5293a2b0b55f0c20d35706044"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_tensor.html">Tensor</a>&lt; 3, dim, <br class="typebreak"/>
Sacado::Fad::SimpleFad&lt; T &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#a50c692a5293a2b0b55f0c20d35706044">hessian</a></td></tr>
<tr class="separator:a50c692a5293a2b0b55f0c20d35706044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac913b3a1f6ef005d66bf7a84428773e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtest_function_vectors.html#aac913b3a1f6ef005d66bf7a84428773e">size</a></td></tr>
<tr class="separator:aac913b3a1f6ef005d66bf7a84428773e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad629f20e9d90e2bae9bec4516aad8a5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtest_function_vectors.html">testFunctionVectors</a> </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>nVectors</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor. Requires the number of scalar fields. </p>

</div>
</div>
<a class="anchor" id="acf4730a5188fc7a68bd2f684de06e42c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classtest_function_vectors.html">testFunctionVectors</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classtest_function_vectors.html">testFunctionVectors</a>&lt; dim, T &gt; &amp;&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Copy constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8f8c287170b3a96f845e24806ac9041d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void defineGrad </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sacado::Fad::SimpleFad&lt; T &gt;&#160;</td>
          <td class="paramname"><em>grad</em>[][dim]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Define the gradient of the test function associated with vector field i. </p>

</div>
</div>
<a class="anchor" id="a5de0859fb33a41c302c433cde049471e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void defineHess </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sacado::Fad::SimpleFad&lt; T &gt;&#160;</td>
          <td class="paramname"><em>hess</em>[][dim][dim]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Define the Hessian of the test function associated with vector field i. </p>

</div>
</div>
<a class="anchor" id="aeec09c469d7d646d4e844f0c91828dd9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void defineVal </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Sacado::Fad::SimpleFad&lt; T &gt;&#160;</td>
          <td class="paramname"><em>val</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Define the value of the test function associated with vector field i. </p>

</div>
</div>
<a class="anchor" id="ac178383f83c18393f2d61f02793fce93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_tensor.html">Tensor</a>&lt;2,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; grad </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the gradient of the test function associated with vector field i. </p>

</div>
</div>
<a class="anchor" id="a11dc66c53603643153b6c1bc14f716b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_tensor.html">Tensor</a>&lt;3,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; hess </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the Hessian of the test function associated with vector field i. </p>

</div>
</div>
<a class="anchor" id="a2c3f7998bd59d6cc139d4e23dc711079"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_tensor.html">Tensor</a>&lt;1,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; val </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the test function associated with vector field i. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a4f802a853b895b2edec7c3cc37747147"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="class_tensor.html">Tensor</a>&lt;2,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; &gt; gradient</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a50c692a5293a2b0b55f0c20d35706044"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="class_tensor.html">Tensor</a>&lt;3,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; &gt; hessian</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aac913b3a1f6ef005d66bf7a84428773e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int size</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a359ceaa1356f57d0ac893f40485854f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="class_tensor.html">Tensor</a>&lt;1,dim,Sacado::Fad::SimpleFad&lt;T&gt; &gt; &gt; value</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="test_function_class_8h_source.html">testFunctionClass.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
